TEMPLATE = lib
TARGET = ContentAction
QT += declarative
CONFIG += qt plugin

TARGET = $$qtLibraryTarget($$TARGET)
#uri = com.mingulov


CONFIG += link_pkgconfig
PKGCONFIG += contentaction-0.1

# Input
SOURCES += \
    contentaction_plugin.cpp \
    contentaction_handler.cpp

HEADERS += \
    contentaction_plugin.h \
    contentaction_handler.h

OTHER_FILES = qmldir

#!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
#    copy_qmldir.target = $$OUT_PWD/qmldir
#    copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
#    copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
#    QMAKE_EXTRA_TARGETS += copy_qmldir
#    PRE_TARGETDEPS += $$copy_qmldir.target
#}

qmldir.files = qmldir

qmldir.path = /opt/mdn/qml
target.path = /opt/mdn/qml

INSTALLS += target qmldir









